package com.hu.ta.assignment6.util;

/**
 * 
 */

/**
 * Configuration arguments
 * 
 * @author cage@g.com
 */
public enum ConfigEnum {

	/**
	 * Train files
	 */
	SPAM_FOLDER("spams", "input/trainingspam/"),
	HAM_FOLDER("hams", "input/trainingham/"),
	
	/**
	 * Learning switch
	 */
	LEARN_MODE("learn", "false"),

	/**
	 * Mail files
	 */
	INPUT_FOLDER("input", "input/"),
	
	/**
	 * 
	 */
	RESULT_FILE("result", "output/result.txt"),

	/**
	 * N-Gram length
	 */
	TRAINED_DATA("traineddata", "output/train.dat");

	private final String configProperty;

	private final String defaultValue;

	private ConfigEnum(final String configProperty, final String defaultValue) {
		this.configProperty = configProperty;
		this.defaultValue = defaultValue;
	}

	/**
	 * Returns the key for the property configuration.
	 * 
	 * @return the key
	 */
	public String getConfigProperty() {
		return configProperty;
	}

	/**
	 * Return the default value for the property configuration.
	 * 
	 * @return the default value
	 */
	public String getDefaultValue() {
		return defaultValue;
	}
}
